<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<!--
<input type="hidden" name="video" class="uploadComponent" allow-ext='["png","jpg","jpeg"]' />
-->
<?php if (!empty($_POST['thumb'])){ ?>
<a href="<?php echo $_POST['thumb']?>" target="_blank"><?php echo $_POST['thumb']?></a>
<?php }?>
<form method="POST" action="index.php">
<div class="uploadComponent" uploadUrl="upload.php" uploadField="file" allow-ext='["flv"]'>
    <input type="file"/>
    <input name="thumb" type="hidden" class="upload-set-input"/>
    <div class="upload-message"></div>
    <br/>
    <progress value="0"></progress>
</div>
<input type="submit"/>
</form>
<script src="jquery.js"></script>
<script src="upload.js"></script>
</body>
</html>
